<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
/*
$hostname_ocmanmanager = "10.0.0.1";
$database_ocmanmanager = "ozcrete-manager";
$username_ocmanmanager = "root";
$password_ocmanmanager = "eden1902";
*/
$hostname_ocmanmanager = "localhost";
$database_ocmanmanager = 'ocmanozc_manager';
$username_ocmanmanager = 'ocmanozc_user1';
$password_ocmanmanager = '+0Fg8.8S-?pc';

if($_SERVER['HTTP_HOST']=="localhost") {
       $ocmanmanager = mysql_connect('localhost', 'root', '');
       
    } 
    else {
        $ocmanmanager = mysql_pconnect($hostname_ocmanmanager, $username_ocmanmanager, $password_ocmanmanager) or trigger_error(mysql_error(),E_USER_ERROR);
    }
           
    if (!$ocmanmanager) {
        die('Could not connect: ' . mysql_error());
    } 

 
?>